﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace HenuAlbum.Models
{
    public class ResourceConfig
    {
        public string RootPath { get; set; }
        public string PicturePath { get => $"{RootPath}/Picture/"; }
        public string VideoPath { get => $"{RootPath}/Video/"; }
        public string DocumentPath { get => $"{RootPath}/Document/"; }

        public List<string> PictureExtensions { get; set; }
        public List<string> VideoExtensions { get; set; }
        public List<string> DocumentExtensions { get; set; }
        public List<string> AllowRefererHosts { get; set; }
    }
}
